## Create Instance AWS Cloud and Install MikroTik CHR on AWS Cloud: https://console.aws.amazon.com/ ## Buy license key For MikroTik CHR: https://mikrotik.com/ ## Create LINE Token: https://notify-bot.line.me/en/ ## Encode Thai message For LINE notify: https://meyerweb.com/eric/tools/dencoder/ ## MikroTik CHR (Run on AWS Cloud) ## 1.Enable L2TP Server 2.Create Secrets User, Password and set "Local Address" and "Remote Address" 3.Go to Tools > Netwatch 3.1) Press + Host: Enter "Remote Address" Interval: 00:00:10 Timeout: 800 3.2) Go to Up tab, On Up: :local token; :local message; :set token "Insert your LINE Token"; :set message "Internet is Up"; /tool fetch http-method=post http-header-field="Authorization:Bearer $token" http-data="message=$message" output=none https://notify-api.line.me/api/notify 3.3) Go to Down tab, On Down: :local token; :local message; :set token "Insert your LINE Token"; :set message "Internet is Down"; /tool fetch http-method=post http-header-field="Authorization:Bearer $token" http-data="message=$message" output=none https://notify-api.line.me/api/notify 3.4) Press Apply and OK ###################################### ## MikroTik Site (For Check WAN interface is up or down) ## 1. Go to PPP 1.1) Press + and Choose L2TP Client 1.2) Go to Dial Out tab, Connect To: Insert Public IP of AWS Cloud (MikroTik CHR) User: Insert User of VPN Password: Insert Password of VPN 1.3) Press Apply and OK ######################################